package com.pretty.test.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.pretty.test.controller.pets.user.dto.FindPasswordAnswerDTO;
import com.pretty.test.controller.pets.user.vo.FindPasswordQuestionVO;
import com.pretty.test.entity.PetsUser;
import com.pretty.test.mapper.PetsUserMapper;
import com.pretty.test.service.IPetsUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 用户服务实现类
 * @author dujianyu
 * @since 2021-04-20
 */
@Service
public class PetsUserServiceImpl extends ServiceImpl<PetsUserMapper, PetsUser> implements IPetsUserService {

    @Override
    public FindPasswordQuestionVO getQuestionByUsername(String username) {
        return baseMapper.getQuestionByUsername(username);
    }
}
